import * as axiosBase from "./request";

export let getMusicInfo = async function (params) {
  let res = await axiosBase.GET(API_PORT +"/search", {...params});
  return res.result;
}
export let getMusicUrl = async function (params) {
  let res = await axiosBase.GET(API_PORT +"/song/url", {...params});
  return res.data;
}